package io.renren.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * Created by ThinkPad on 2018/11/27.
 */
public class UserReservation {

    @NotBlank(message = "检测站点标识不能为空")
    private String company_id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date reservation_date;

    private Date reservation_time;

    @NotBlank(message = "预约日期标识不能为空")
    private String reservation_id;

    @NotBlank(message = "车牌号不能为空")
    private String license_plate;

    @NotBlank(message = "用户标识不能为空")
    private String userid;

    @NotBlank(message = "手机号不能为空")
    private String phone;

    private int arrive_state;

    public String getCompany_id() {
        return company_id;
    }

    public void setCompany_id(String company_id) {
        this.company_id = company_id;
    }

    public Date getReservation_date() {
        return reservation_date;
    }

    public void setReservation_date(Date reservation_date) {
        this.reservation_date = reservation_date;
    }

    public Date getReservation_time() {
        return reservation_time;
    }

    public void setReservation_time(Date reservation_time) {
        this.reservation_time = reservation_time;
    }

    public String getReservation_id() {
        return reservation_id;
    }

    public void setReservation_id(String reservation_id) {
        this.reservation_id = reservation_id;
    }

    public String getLicense_plate() {
        return license_plate;
    }

    public void setLicense_plate(String license_plate) {
        this.license_plate = license_plate;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getArrive_state() {
        return arrive_state;
    }

    public void setArrive_state(int arrive_state) {
        this.arrive_state = arrive_state;
    }
}
